package cn.sdormitory.attendance.service;

import cn.sdormitory.attendance.entity.HolidayConfig;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @author: lx
 * @date: 2023/9/20 14:59
 * @description:
 */
public interface HolidayConfigService {

    int createHoliday(HolidayConfig holidayConfig);

    IPage<HolidayConfig> findHolidayPageList(HolidayConfig query);

    HolidayConfig getHolidayById(Long id);

    int deleteHolidayById(Long id);

    int updateHoliday(HolidayConfig holiday);
}
